package com.cyf.xjtech_android;

import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

public class XTimeDomainFilteringParam extends Structure {
    public short nBegThrd = 0;        // 开始阈值
    public short nLowThrd = 4;        // 低阈值
    public short nHigThrd = 12;        // 高阈值
    public short nEndThrd = 16;        // 结束阈值

    /**
     * 重写getFieldOrder获取字段列表
     *
     * @return 字段列表
     */
    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList("nBegThrd", "nLowThrd", "nHigThrd", "nEndThrd");
    }
}
